package cic;

import org.junit.Assert;
import org.junit.Test;

public class ClaimTest {

	@Test
	public void testClaim() {
		
		Claim clm = new Claim("Tom", "LT000025");
		clm.setCategory(Category.simple_claim);
		clm.setDecision("OK");
		clm.setIsregistered(true);
		
		Assert.assertEquals("Tom", clm.getReporter());
		Assert.assertEquals("LT000025", clm.getInsurance_num());
		Assert.assertEquals(Category.simple_claim, clm.getCategory());
		Assert.assertEquals("OK", clm.getDecision());
		Assert.assertTrue(clm.isIsregistered());
	}


}
